package com.by.bean.parkspace;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 车位表
 */
@ApiModel("车位信息")
@Data
@TableName("g_parkspace")
public class ParkSpace {
    @ApiModelProperty("id")
    @TableId
    int id;
    @ApiModelProperty("区域")
    String region;
    @ApiModelProperty("车位编号")
    String code;
    @ApiModelProperty("车位面积")
    int area;
    @ApiModelProperty("楼层")
    String floor;
    @ApiModelProperty("车位类型")
    int type;
    @ApiModelProperty("车位状态")
    int status;
    @ApiModelProperty("持有人")
    String name;
    @ApiModelProperty("备注")
    String note;
    @ApiModelProperty(hidden = true)
    @TableField(exist = false)
    String addPeople; //添加人
    @ApiModelProperty(hidden = true)
    @TableField(exist = false)
    String createTime; //添加时间

}
